package cate.common.table.item.spice.sheet;

import cate.common.table.ESheet;
import cate.common.table.item.spice.row.SpiceBreakRow;

public class SpiceBreakSheet extends ESheet<SpiceBreakRow> {
    @Override
    public String getSheetName() {
        return "星格突破（升阶）";
    }

    public SpiceBreakRow getBreakRow(int quality, int level) {
        return getList().stream().filter(e -> e.quality == quality && e.level == level).findAny().orElse(null);
    }
}
